package cn.fastoo.common.entity;

import cn.fastoo.common.sampleframe.entity.BaseEntity;

import javax.persistence.*;

/**
 * Created by lowkey on 17/7/24.
 */
@Table(name = "user_base")
public class UserBase extends BaseEntity {


    @Column(name = "login_name")
    private String loginName;

    @Column(name = "password")
    private String password;

    @Column(name = "balance")
    private Double balance;

    @Column(name = "credits")
    private Double credits;

    @Column(name = "status")
    private Integer status;//1正常，-1停用

    @Column(name = "ip_enable")
    private Integer ipEnable;

    @Column(name = "user_type")
    private Integer userType;//1企业，2个人

    @Column(name = "company")
    private String company;

    @Column(name = "industry")
    private String industry;

    @Column(name = "business_licence")
    private String businessLicence;

    @Column(name = "business_licence_img")
    private String businessLicenceImg;

    @Column(name = "real_name")
    private String realName; //个人的真实姓名

    @Column(name = "id_card")
    private String idcard;

    @Column(name = "id_card_img")
    private String idcardImg;

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getIdcardImg() {
        return idcardImg;
    }

    public void setIdcardImg(String idcardImg) {
        this.idcardImg = idcardImg;
    }

    public Double getCredits() {
        return credits;
    }

    public void setCredits(Double credits) {
        this.credits = credits;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Double getBalance() {
        return balance;
    }

    public void setBalance(Double balance) {
        this.balance = balance;
    }

    public Integer getIpEnable() {
        return ipEnable;
    }

    public void setIpEnable(Integer ipEnable) {
        this.ipEnable = ipEnable;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getIndustry() {
        return industry;
    }

    public void setIndustry(String industry) {
        this.industry = industry;
    }

    public String getBusinessLicence() {
        return businessLicence;
    }

    public void setBusinessLicence(String businessLicence) {
        this.businessLicence = businessLicence;
    }

    public String getBusinessLicenceImg() {
        return businessLicenceImg;
    }

    public void setBusinessLicenceImg(String businessLicenceImg) {
        this.businessLicenceImg = businessLicenceImg;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    private String apiKey;
    private String signName;
    private Integer signStatus;
    private Integer needDr;
    private String drUrl;

    public String getDrUrl() {
        return drUrl;
    }

    public void setDrUrl(String drUrl) {
        this.drUrl = drUrl;
    }

    public Integer getNeedDr() {
        return needDr;
    }

    public void setNeedDr(Integer needDr) {
        this.needDr = needDr;
    }

    public String getApiKey() {
        return apiKey;
    }

    public void setApiKey(String apiKey) {
        this.apiKey = apiKey;
    }

    public String getSignName() {
        return signName;
    }

    public void setSignName(String signName) {
        this.signName = signName;
    }

    public Integer getSignStatus() {
        return signStatus;
    }

    public void setSignStatus(Integer signStatus) {
        this.signStatus = signStatus;
    }
}
